html {
    background-color: #fff;
    text-align: center;
    font-size: 10px;
}


body {
    margin: 0;
    font-size: 2rem;
    /* 弹性布局 */
    display: flex;
    justify-content: center;
    align-items: center;
    /* 最小高度 */
    min-height: 100vh;
}

.clock {
    width: 30rem;
    height: 30rem;
    border: 7px solid #ffebdb;
    border-radius: 50%;
    /* x轴偏移量 y轴偏移量 阴影扩散范围 */
    /* 上右下左 */
    box-shadow: -4px -4px 10px rgba(67, 67, 67, 0.1),
        inset 4px 4px 10px rgba(168, 145, 128, 0.6),
        inset -4px -4px 10px rgba(201, 175, 155, 0.2),
        4px 4px 10px rgba(168, 145, 128, 0.5);
    background-image: url('./xiaoxin.jpg');
    background-size: 111%;
    padding: 2rem;
}

.outer-clock-face {
    position: relative;
    width: 100%;
    height: 99%;
    border-radius: 100%;
    overflow: hidden;
}

.outer-clock-face::before,
.outer-clock-face::after,
.marking {
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background-color: #596235;
    z-index: 0;
    left: 49%;
    border-radius: 8px;
}

.outer-clock-face::after {
    transform: rotate(90deg);
}

.marking-one {
    width: 3px;
    background-color: #596235;
    transform: rotate(30deg);
}

.marking-two {
    width: 3px;
    background-color: #596235;
    transform: rotate(60deg);
}

.marking-three {
    width: 3px;
    background-color: #596235;
    transform: rotate(120deg);
}

.marking-four {
    width: 3px;
    background-color: #596235;
    transform: rotate(150deg);
}

.inner-clock-face {
    position: absolute;
    top: 10%;
    left: 11%;
    width: 80%;
    height: 80%;
    background-color: #ffebdb;
    border-radius: 100%;
    z-index: 1;
    background-image: url('./xiaoxin.jpg');
    background-size: 126%;
}

.inner-clock-face::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 16px;
    height: 16px;
    border-radius: 18px;
    background: #4d4b63;
    transform: translateX(50%) translateY(-50%);
    z-index: 2;
}

.hand {
    width: 50%;
    height: 6px;
    background-color: #b03715;
    position: absolute;
    top: 50%;
    right: 50%;
    border-radius: 6px;
    transform: rotate(90deg);
    /* 设置旋转的基点 */
    transform-origin: 100%;
}

.hour-hand {
    width: 30%;
    z-index: 3;
}

.min-hand {
    width: 40%;
    height: 3px;
    z-index: 4;
}

.second-hand {
    width: 45%;
    height: 2px;
    z-index: 5;
    background-color: #b3b3b3;
}